package com.zhny.aiot.jdrk.ec.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class ECStoreEntry extends StoreEntity {
    @PropertyValue(alias = "电导率",description = "",unit = "μS/cm",icon=IconConstract.EC,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double ec;

    @PropertyValue(alias = "温度",description = "",unit = "℃",icon=IconConstract.Temperature,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double temperature;

    @PropertyValue(alias = "盐度",description = "",unit = "ppm",icon=IconConstract.Salinity,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private Integer salinity;
}
